package com.atguigu.gulimall.seckill.service;

import com.atguigu.common.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @author liuq
 * @version 1.0
 * @description:
 * @date 2021/3/9 22:37
 */
public interface SeckillService {

    void uploadSeckillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
